<?php
$this->breadcrumbs=array(
	'Printers'=>array('index'),
	$model->id,
);

$this->menu=array(
	array('label'=>'List Printer', 'url'=>array('index')),
	array('label'=>'Create Printer', 'url'=>array('create')),
	array('label'=>'Update Printer', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete Printer', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage Printer', 'url'=>array('admin')),
	array('label'=>'Move Printer', 'url'=>array('move', 'id'=>$model->id)),
	array('label'=>'Broken Printer', 'url'=>array('move', 'id'=>$model->id)),	
);
?>

<h1>View Printer #<?php echo $model->id; ?></h1>

<?php $this->widget('zii.widgets.CDetailView', array(
	'data'=>$model,
	'attributes'=>array(
		'id',
		'model',
		'state',
		 array(            
            'label'=>'place',
            'type'=>'raw',
            'value'=>$model->place->name
			)
))); ?>
